<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>欢迎登陆126免费邮箱</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link href="css/style_090703.css" rel="stylesheet" type="text/css" />
  </head>
  
  <body>
   
   <div class="page" id="divPage">
	<div class="head">
		<a  title="设置网易126邮箱为浏览器首页" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.126.com');">设为主页</a> | <a  target="_blank">163免费邮</a> | <a  target="_blank">Yeah.net免费邮</a> | <a  target="_blank">企业邮箱</a> | <a  target="_blank">帮助</a>
	</div>
	<div class="content">
		<div class="logo">
			<h1><img src="image/126logo.gif" alt="126网易免费邮" /></h1>
			<h2>你的专业电子邮局</h2>
		</div>
		<div class="login">
			<h3>登录126网易邮箱</h3>
			<form method="post" action="Login.action" name="form" onSubmit="return check()">
			<input name="domain" type="hidden" value="126.com" />
			<input name="language" type="hidden" value="0" />
			<input name="bCookie" type="hidden" value="" />
			<input name="username" type="hidden" value="" />
			<input name="savelogin" type="hidden" value="" />
				<div class="fi">
					<label class="lb">用户名</label>
					<input id="iptUser" name="name"  type="text" class="ipt-t no-ime" onfocus="this.className+=' ipt-t-focus'" onblur="this.className='ipt-t no-ime'" tabindex="1" /><strong><span>&nbsp&nbsp@126.com</span></strong>
					
				</div>
				<div class="fi">
					<label class="lb">密　码</label>
					<input id="iptPwd" type="password" class="ipt-t" onfocus="this.className+=' ipt-t-focus'" onblur="this.className='ipt-t no-ime'" name="password" tabindex="2" maxlength="20" />
					<a class="foget" target="_blank">&nbsp</a>
				</div>
				
				<div class="fi fi-nolb">
					<label class="autologin" onMouseOver="document.getElementById('autoLoginDiv').style.display='block'" onMouseOut="document.getElementById('autoLoginDiv').style.display='none'" for="rem_U"></label>
					<div id="autoLoginDiv">为了您的信息安全，请不要在网吧或公用电脑上使用此功能！</div>
					
				</div>
				<div class="fi fi-btn">
					<input type="submit" class="ipt-b" value="登　录" name="enter.x" tabindex="4"  />
					<span class="err" id="error_div">
					 <%
					   if( request.getAttribute("cuowu") != null){
					out.print(request.getAttribute("cuowu"));} %>
					
					</span>
				</div>
				<div class="fi fi-nolb">
					<a href="/mailspeed/" target="_blank" class="chkspd"></a> <span style="color:#999" id="speedInfoSpan"></span>
				</div>
				
			</form>
			<script>fInitUser();fSetLogType();fVoidIE5();</script>
			<div class="reg">
				<span>还没有126网易免费邮？</span>
				<a class="btn" href="register.jsp" target="_blank" id="lnkReg">立即注册</a>
			</div>
		</div>
		<div class="intro intro-1" id="divIntro">

			<div class="introtxt introtxt-1">
			
				<ul>
					<li><a>您可以使用网易网盘 ，随时存，随地取。</a></li>
					<li><a>您还可以使用闪电邮 在桌面随时提醒邮件到达，快速收发邮件。</a></li>
					<li><a>在百宝箱里您可以查星座，订机票，看小说，学做菜</a>…</li>
				</ul>
			</div>
		</div>
	</div>
	<div class="footer">
		<div class="zxdt">
			
			<ul>
				<li>
					<a  target="_blank">
						网易推出诚信邮件联盟
					</a>
				</li>
				<li>
					<a  target="_blank">
						邮箱积分兑换康陆网抵价劵
					</a>
				</li>
				<li>
					<a  target="_blank">
						海外邮件发不出、收不到怎么办？
					</a>
				</li>
			</ul>
			<span class="end"></span>
		</div>
		<div class="copyright">
			<a  target="_blank">关于网易</a><a  target="_blank">邮箱官方博客</a><a  target="_blank">财富邮</a><!--<a href="http://smsmail.163.com/newsmsmail/eaw_index.jsp" target="_blank">随身邮</a><a href="http://mscan.163.com/pay/payIndex.jsp" target="_blank">邮箱伴侣</a>--><a  target="_blank">精美贺卡</a><a  target="_blank">举报违法信息</a><a  target="_blank">客户服务</a><span>|&nbsp;&nbsp;&nbsp;网易公司版权所有 &copy; 1997-<script src="http://mimg.163.com/copyright/year.js" language="javascript"></script></span>
		</div>
	</div>
</div>
   
   
   
   
   
  </body>
</html>
<<script type="text/javascript">
<!--
function check(){
	var name = document.getElementById('iptUser').value;
	var password=document.getElementById('iptPwd').value;
	if( name == '' ){
		document.getElementById('error_div').innerHTML = "请输入你的用户名";
	return false;
	}
	if(password==''){
		document.getElementById('error_div').innerHTML = "请输入你的密码";
		return false;
		}
	}


//-->
</script>
